interface ClockInterface {
  count:number
  currentTime: Date;
  setTime(d: Date):void
}



class Clock implements ClockInterface {
  count=3
  currentTime: Date;
  setTime(d: Date) {
    this.currentTime = d;
  }
  constructor(h: number, m: number) {
    this.currentTime=new Date()
  }
}
